package com.qk.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.dto.ClueDto;
import com.qk.dto.MarkFalseClueDto;
import com.qk.entity.Clue;
import com.qk.entity.OverViewVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ClueMapper extends BaseMapper<Clue> {

    Page<Clue> listClues(Page<Clue> cluePage, ClueDto clueDto);

    Clue getClueById(Integer id);

    void updateFalseClue(Integer id, MarkFalseClueDto markFalseClueDto);

    OverViewVo overviewClue();

    Page<Clue> listPoolClues(Page<Clue> cluePage, ClueDto clueDto);
}
